%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% layout beamer
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\DeclareGraphicsExtensions{.pdf}
%\DeclareGraphicsExtensions{.eps}

%---------------------------------------------------------------------

\mode<presentation>
{
  %\usetheme{Berkeley} 
  %\usetheme{default} 
  %\usetheme{Berlin} 

  \setbeamercovered{transparent}
  %\setbeamercovered{dynamic}
  %\setbeamerfont{frametitle}{size=\small}
  %\setbeamerfont{foottitle}{size=\tiny}
  \setbeamercolor{frametitle}{fg=darkblue,bg=white}
  \setbeamersize{description width of={xxxxx}}
  \setbeamertemplate{itemize item}[triangle]
  \setbeamertemplate{itemize subitem}[circle]
  \setbeamertemplate{itemize subsubitem}{--}
  %\useoutertheme{infolines}
  %\useoutertheme{miniframes}

}
%\hypersetup{pdfpagemode=FullScreen} % start in full screen mode

%---------------------------------------------------------------------
\newcommand{\citeauthoryear}{}



% canevas du frametitle
\setbeamertemplate{frametitle} 
{ 
\begin{flushright} 
\color{FSlateBlue} 
\textbf{\insertframetitle} 
\par 
\end{flushright} 
} 


%\setbeamercolor{background canvas}{bg=} 
%\setbeamercolor{background canvas}{fg=red,bg=black!1}
\setbeamercolor{background canvas}{bg=FSlateGrey!0}
%\setbeamercolor{background canvas}{bg=black!10} un peu sombre

%\setbeamercolor{text}{fg=yellow}
\setbeamercolor{math text}{fg=blue}

%\setbeamercolor{title}{fg=red!80!black,bg=red!20!white} 
\setbeamercolor{normal text}{fg=black,bg=shaded} 


% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 

%\beamerdefaultoverlayspecification{<+->}

% --- navigation symbols ---------------------------------------------

\setbeamertemplate{navigation symbols}{} 



% \inserttotalframenumber
% \insertpagenumber
% \insertslidenavigationsymbol Inserts the slide navigation symbols, 
%  	that is, the slide symbols (a rectangle) together with arrows to 
%	the left and right that are hyperlinked. 
% \insertframenavigationsymbol Inserts the frame navigation symbol. 
% \insertsubsectionnavigationsymbol Inserts the subsection navigation symbol. 
% \insertsectionnavigationsymbol Inserts the section navigation symbol. 
% \insertdocnavigationsymbol Inserts the presentation navigation symbol 
%  	and (if necessary) the appendix navigation symbol. 
% \insertbackfindforwardnavigationsymbol Inserts a back, a find, and a 
% 	forward navigation symbol. 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%







%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% macros 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\newsavebox{\fmbox}
\newenvironment{fabbox}
     {\noindent\begin{lrbox}{\fmbox}\begin{minipage}{0.983\textwidth}}
     {\end{minipage}\end{lrbox}\fbox{\usebox{\fmbox}}}

\newenvironment{mat}
     {\left(\begin{smallmatrix}}
     {\end{smallmatrix}\right)}

\newcommand{\mmin}{{\textrm{min}}}
\newcommand{\mmax}{{\textrm{max}}}
\newcommand{\var}{{\textrm{var}}}

% --- les ensembles 
\newcommand{\V}        {\mathbb V}
\newcommand{\N}        {\mathbb N}
\newcommand{\D}        {\mathbb D}
\newcommand{\Z}        {\mathbb Z}
\newcommand{\C}        {\mathbb C}
\newcommand{\T}        {\mathbb T}
\newcommand{\E}        {\mathbb E}
\newcommand{\X}        {\mathbb X}
\newcommand{\Y}        {\mathbb Y}
\newcommand{\R}      {\mathbb R}
\newcommand{\Q}      {\mathbb Q}
\newcommand{\Para}    {\P}
\renewcommand{\P}      {\mathbb P}

%
\newcommand{\rfr}[1]    {\stackrel{\circ}{#1}}
\newcommand{\equiva}    {\displaystyle\mathop{\simeq}}
\newcommand{\equivb}    {\displaystyle\mathop{\sim}}
%\newcommand{\eqdef}     {\stackrel{\triangle}{=}}
%\newcommand{\eqdef}     {\stackrel{\textrm{\tiny def}}{=}}
\newcommand{\simiid}     {\stackrel{\textrm{iid}}{\sim}}

\newcommand{\gtlt}     {\displaystyle\mathop{\gtrless}}


\newcommand{\Limsup}    {\mathop{\overline{\textrm lim}}}
\newcommand{\Liminf}    {\mathop{\underline{\textrm lim}}}
%                       \joinrel\rightarrow}\;}}
\newcommand{\osc}       {\mathop{\hbox{\textrm osc}}}
\newcommand{\ccv}       {\mathop{\;{\longrightarrow}\;}}
\newcommand{\cv}        {\mathop{\;{\rightarrow}\;}}
\newcommand{\cvweak}    {\mathop{\;{\rightharpoonup}\;}}
\newcommand{\versup}    {\mathop{\;{\nearrow}\;}}
\newcommand{\versdown}  {\mathop{\;{\searrow}\;}}
\newcommand{\vvers}     {\mathop{\;{\longrightarrow}\;}}
\newcommand{\cvetroite} {\mathop{\;{\Longrightarrow}\;}}
\newcommand{\cvlaw}     {\mathop{\;{\Longrightarrow}\;}}
%\newcommand{\ieme}      {\hbox{i}^{\hbox{\smalltype\`eme}}}
\newcommand{\argmax}    {\hbox{{\textrm Arg}}\max}
\newcommand{\argmin}    {\hbox{{\textrm Arg}}\min}
\newcommand{\esssup}    {\hbox{{\textrm ess}}\sup}
\newcommand{\essinf}    {\hbox{{\textrm ess}}\inf}
\renewcommand{\div}     {\hbox{{\textrm div}}}
\newcommand{\rot}       {\hbox{{\textrm rot}}}
\newcommand{\supp}      {\hbox{{\textrm supp}}}
\newcommand{\cov}       {\hbox{{\textrm cov}}}
%
\newcommand{\indep}      {\perp\!\!\!\!\perp}
\newcommand{\abs}    [1] {\left| #1 \right|}
\newcommand{\norm}   [1] {\left\Vert #1 \right\Vert}
\newcommand{\ccrochet}[1] {\langle\!\langle #1 \rangle\!\rangle}
\newcommand{\crochet}[1] {\langle #1 \rangle}
\newcommand{\Crochet}[2] {\langle #1 \,,\, #2 \rangle}
\newcommand{\espc}   [3] {E_{#1}\left(\left. #2 \right| #3 \right)}
\newcommand{\trace}     {\hbox{{\textrm trace}}}
\newcommand{\diag}      {\hbox{{\textrm diag}}}
\newcommand{\tbullet}   {$\bullet$}
\newcommand{\ot}        {\leftarrow}
\newcommand{\carre}     {\hfill$\Box$}
\newcommand{\carreb}    {\hfill\rule{0.25cm}{0.25cm}}
\newcommand{\demi}{{{\textstyle\frac{1}{2}}}}
\newcommand{\quart}{{{\textstyle\frac{1}{4}}}}

% --- les lettres tt (math)
\newcommand{\ttA}  {{\texttt A}}
\newcommand{\ttB}  {{\texttt B}}
\newcommand{\ttC}  {{\texttt C}}
\newcommand{\ttD}  {{\texttt D}}
\newcommand{\ttE}  {{\texttt E}}
\newcommand{\ttF}  {{\texttt F}}
\newcommand{\ttG}  {{\texttt G}}
\newcommand{\ttH}  {{\texttt H}}
\newcommand{\ttI}  {{\texttt I}}
\newcommand{\ttJ}  {{\texttt J}}
\newcommand{\ttK}  {{\texttt K}}
\newcommand{\ttL}  {{\texttt L}}
\newcommand{\ttM}  {{\texttt M}}
\newcommand{\ttN}  {{\texttt N}}
\newcommand{\ttO}  {{\texttt O}}
\newcommand{\ttP}  {{\texttt P}}
\newcommand{\ttQ}  {{\texttt Q}}
\newcommand{\ttR}  {{\texttt R}}
\newcommand{\ttS}  {{\texttt S}}
\newcommand{\ttT}  {{\texttt T}}
\newcommand{\ttU}  {{\texttt U}}
\newcommand{\ttV}  {{\texttt V}}
\newcommand{\ttW}  {{\texttt W}}
\newcommand{\ttX}  {{\texttt X}}
\newcommand{\ttY}  {{\texttt Y}}
\newcommand{\ttZ}  {{\texttt Z}}
\newcommand{\tta}  {{\texttt a}}
\newcommand{\ttb}  {{\texttt b}}
\newcommand{\ttc}  {{\texttt c}}
\newcommand{\ttd}  {{\texttt d}}
\newcommand{\tte}  {{\texttt e}}
\newcommand{\ttf}  {{\texttt f}}
\newcommand{\ttg}  {{\texttt g}}
\newcommand{\tth}  {{\texttt h}}
\newcommand{\tti}  {{\texttt i}}
\newcommand{\ttj}  {{\texttt j}}
\newcommand{\ttk}  {{\texttt k}}
\newcommand{\ttl}  {{\texttt l}}
\newcommand{\ttm}  {{\texttt m}}
\newcommand{\ttn}  {{\texttt n}}
\newcommand{\tto}  {{\texttt o}}
\newcommand{\ttp}  {{\texttt p}}
\newcommand{\ttq}  {{\texttt q}}
\newcommand{\ttr}  {{\texttt r}}
\newcommand{\tts}  {{\texttt s}}
\newcommand{\ttt}  {{\texttt t}}
\newcommand{\ttu}  {{\texttt u}}
\newcommand{\ttv}  {{\texttt v}}
\newcommand{\ttw}  {{\texttt w}}
\newcommand{\ttx}  {{\texttt x}}
\newcommand{\tty}  {{\texttt y}}
\newcommand{\ttz}  {{\texttt z}}

% --- les lettres sans serif (math)
\newcommand{\sfA}  {{\mathsf A}}
\newcommand{\sfB}  {{\mathsf B}}
\newcommand{\sfC}  {{\mathsf C}}
\newcommand{\sfD}  {{\mathsf D}}
\newcommand{\sfE}  {{\mathsf E}}
\newcommand{\sfF}  {{\mathsf F}}
\newcommand{\sfG}  {{\mathsf G}}
\newcommand{\sfH}  {{\mathsf H}}
\newcommand{\sfI}  {{\mathsf I}}
\newcommand{\sfJ}  {{\mathsf J}}
\newcommand{\sfK}  {{\mathsf K}}
\newcommand{\sfL}  {{\mathsf L}}
\newcommand{\sfM}  {{\mathsf M}}
\newcommand{\sfN}  {{\mathsf N}}
\newcommand{\sfO}  {{\mathsf O}}
\newcommand{\sfP}  {{\mathsf P}}
\newcommand{\sfQ}  {{\mathsf Q}}
\newcommand{\sfR}  {{\mathsf R}}
\newcommand{\sfS}  {{\mathsf S}}
\newcommand{\sfT}  {{\mathsf T}}
\newcommand{\sfU}  {{\mathsf U}}
\newcommand{\sfV}  {{\mathsf V}}
\newcommand{\sfW}  {{\mathsf W}}
\newcommand{\sfX}  {{\mathsf X}}
\newcommand{\sfY}  {{\mathsf Y}}
\newcommand{\sfZ}  {{\mathsf Z}}
\newcommand{\sfa}  {{\mathsf a}}
\newcommand{\sfb}  {{\mathsf b}}
\newcommand{\sfc}  {{\mathsf c}}
\newcommand{\sfd}  {{\mathsf d}}
\newcommand{\sfe}  {{\mathsf e}}
\newcommand{\sff}  {{\mathsf f}}
\newcommand{\sfg}  {{\mathsf g}}
\newcommand{\sfh}  {{\mathsf h}}
\newcommand{\sfi}  {{\mathsf i}}
\newcommand{\sfj}  {{\mathsf j}}
\newcommand{\sfk}  {{\mathsf k}}
\newcommand{\sfl}  {{\mathsf l}}
\newcommand{\sfm}  {{\mathsf m}}
\newcommand{\sfn}  {{\mathsf n}}
\newcommand{\sfo}  {{\mathsf o}}
\newcommand{\sfp}  {{\mathsf p}}
\newcommand{\sfq}  {{\mathsf q}}
\newcommand{\sfr}  {{\mathsf r}}
\newcommand{\sfs}  {{\mathsf s}}
\newcommand{\sft}  {{\mathsf t}}
\newcommand{\sfu}  {{\mathsf u}}
\newcommand{\sfv}  {{\mathsf v}}
\newcommand{\sfw}  {{\mathsf w}}
\newcommand{\sfx}  {{\mathsf x}}
\newcommand{\sfy}  {{\mathsf y}}
\newcommand{\sfz}  {{\mathsf z}}

% --- les lettres bold face (math)
\newcommand{\bfA}  {{\mathbf A}}
\newcommand{\bfB}  {{\mathbf B}}
\newcommand{\bfC}  {{\mathbf C}}
\newcommand{\bfD}  {{\mathbf D}}
\newcommand{\bfE}  {{\mathbf E}}
\newcommand{\bfF}  {{\mathbf F}}
\newcommand{\bfG}  {{\mathbf G}}
\newcommand{\bfH}  {{\mathbf H}}
\newcommand{\bfI}  {{\mathbf I}}
\newcommand{\bfJ}  {{\mathbf J}}
\newcommand{\bfK}  {{\mathbf K}}
\newcommand{\bfL}  {{\mathbf L}}
\newcommand{\bfM}  {{\mathbf M}}
\newcommand{\bfN}  {{\mathbf N}}
\newcommand{\bfO}  {{\mathbf O}}
\newcommand{\bfP}  {{\mathbf P}}
\newcommand{\bfQ}  {{\mathbf Q}}
\newcommand{\bfR}  {{\mathbf R}}
\newcommand{\bfS}  {{\mathbf S}}
\newcommand{\bfT}  {{\mathbf T}}
\newcommand{\bfU}  {{\mathbf U}}
\newcommand{\bfV}  {{\mathbf V}}
\newcommand{\bfW}  {{\mathbf W}}
\newcommand{\bfX}  {{\mathbf X}}
\newcommand{\bfY}  {{\mathbf Y}}
\newcommand{\bfZ}  {{\mathbf Z}}
\newcommand{\bfa}  {{\mathbf a}}
\newcommand{\bfb}  {{\mathbf b}}
\newcommand{\bfc}  {{\mathbf c}}
\newcommand{\bfd}  {{\mathbf d}}
\newcommand{\bfe}  {{\mathbf e}}
\newcommand{\bff}  {{\mathbf f}}
\newcommand{\bfg}  {{\mathbf g}}
\newcommand{\bfh}  {{\mathbf h}}
\newcommand{\bfi}  {{\mathbf i}}
\newcommand{\bfj}  {{\mathbf j}}
\newcommand{\bfk}  {{\mathbf k}}
\newcommand{\bfl}  {{\mathbf l}}
\newcommand{\bfm}  {{\mathbf m}}
\newcommand{\bfn}  {{\mathbf n}}
\newcommand{\bfo}  {{\mathbf o}}
\newcommand{\bfp}  {{\mathbf p}}
\newcommand{\bfq}  {{\mathbf q}}
\newcommand{\bfr}  {{\mathbf r}}
\newcommand{\bfs}  {{\mathbf s}}
\newcommand{\bft}  {{\mathbf t}}
\newcommand{\bfu}  {{\mathbf u}}
\newcommand{\bfv}  {{\mathbf v}}
\newcommand{\bfw}  {{\mathbf w}}
\newcommand{\bfx}  {{\mathbf x}}
\newcommand{\bfy}  {{\mathbf y}}
\newcommand{\bfz}  {{\mathbf z}}

% --- les lettres blackboard (math)
\newcommand{\bbA}  {{\mathbb A}}
\newcommand{\bbB}  {{\mathbb B}}
\newcommand{\bbC}  {{\mathbb C}}
\newcommand{\bbD}  {{\mathbb D}}
\newcommand{\bbE}  {{\mathbb E}}
\newcommand{\bbF}  {{\mathbb F}}
\newcommand{\bbG}  {{\mathbb G}}
\newcommand{\bbH}  {{\mathbb H}}
\newcommand{\bbI}  {{\mathbb I}}
\newcommand{\bbJ}  {{\mathbb J}}
\newcommand{\bbK}  {{\mathbb K}}
\newcommand{\bbL}  {{\mathbb L}}
\newcommand{\bbM}  {{\mathbb M}}
\newcommand{\bbN}  {{\mathbb N}}
\newcommand{\bbO}  {{\mathbb O}}
\newcommand{\bbP}  {{\mathbb P}}
\newcommand{\bbQ}  {{\mathbb Q}}
\newcommand{\bbR}  {{\mathbb R}}
\newcommand{\bbS}  {{\mathbb S}}
\newcommand{\bbT}  {{\mathbb T}}
\newcommand{\bbU}  {{\mathbb U}}
\newcommand{\bbV}  {{\mathbb V}}
\newcommand{\bbW}  {{\mathbb W}}
\newcommand{\bbX}  {{\mathbb X}}
\newcommand{\bbY}  {{\mathbb Y}}
\newcommand{\bbZ}  {{\mathbb Z}}

% --- les lettres calligraphiques
\newcommand{\AAA}  {{\mathcal A}}
\newcommand{\BB}   {{\mathcal B}}
\newcommand{\CC}   {{\mathcal C}}
\newcommand{\DD}   {{\mathcal D}}
\newcommand{\EE}   {{\mathcal E}}
\newcommand{\FF}   {{\mathcal F}}
\newcommand{\GG}   {{\mathcal G}}
\newcommand{\HH}   {{\mathcal H}}
\newcommand{\II}   {{\mathcal I}}
\newcommand{\JJ}   {{\mathcal J}}
\newcommand{\KK}   {{\mathcal K}}
\newcommand{\LL}   {{\mathcal L}}
\newcommand{\NN}   {{\mathcal N}}
\newcommand{\MM}   {{\mathcal M}}
\newcommand{\OO}   {{\mathcal O}}
\newcommand{\PP}   {{\mathcal P}}
\newcommand{\QQ}   {{\mathcal Q}}
\newcommand{\RR}   {{\mathcal R}}
\renewcommand{\SS}   {{\mathcal S}}
\newcommand{\SSS}   {{\mathcal S}}
\newcommand{\TT}   {{\mathcal T}}
\newcommand{\UU}   {{\mathcal U}}
\newcommand{\VV}   {{\mathcal V}}
\newcommand{\WW}   {{\mathcal W}}
\newcommand{\XX}   {{\mathcal X}}
\newcommand{\YY}   {{\mathcal Y}}
\newcommand{\ZZ}   {{\mathcal Z}}

% --- integration

\newcommand{\rmd}   {{{\textrm{\upshape d}}}}


% --- utilitaires
\newcommand{\dontforget}[1]
{{\mbox{}\\\noindent\rule{1cm}{2mm}\hfill  #1 \hfill\rule{1cm}{2mm}}\typeout{---------- #1 ------------}}
\newcommand{\rond}[1]     {\stackrel{\circ}{#1}}
\newcommand{\indic}{{\mathrm\mathbf1}}
\renewcommand{\epsilon}{\varepsilon}
\newcommand{\marginal}[1]{%
        \leavevmode\marginpar{\tiny\raggedright#1\par}}
\newcommand{\warning}{\setlength{\unitlength}{1cm}
  \begin{picture}(0.6,0.5)(0,0)
  \put(0.25,0.15){\makebox(0,0){{\huge$\bigtriangleup$}}}
  \put(0.25,0.16){\makebox(0,0){{\small\sf !}}}
  \end{picture}}

% --- bold math
\def\bm#1{%
  \mathchoice%
       {\setbox1=\hbox{$#1$}\dobm}
       {\setbox1=\hbox{$#1$}\dobm}
       {\setbox1=\hbox{\scriptsize$#1$}\dobm}
       {\setbox1=\hbox{\tiny$#1$}\dobm}}
\def\dobm{
    \copy1\kern-\wd1\kern0.05ex\copy1\kern-\wd1\kern0.05ex\box1}


\newcommand{\fenumi}  {\textrm({\textit{i}}\/)}
\newcommand{\fenumii} {\textrm({\textit{ii}}\/)}
\newcommand{\fenumiii}{\textrm({\textit{iii}}\/)}
\newcommand{\fenumiv} {\textrm({\textit{iv}}\/)}
\newcommand{\fenumv}  {\textrm({\textit{v}}\/)}
\newcommand{\fenum}[1]{\textrm({\textit{#1}}\/)}



% --- logos
\newcommand
      {\sysdys}
      {{\sf S\kern-.15em\raise.3ex\hbox{Y}\kern-.15em
            SD\kern-.15em\raise.3ex\hbox{Y}\kern-.15emS}}

